/*
 * @Descripttion:
 * @version: v1
 * @Author: youhujun 2900976495@qq.com
 * @Date: 2024-08-17 09:59:08
 * @LastEditors: youhujun 2900976495@qq.com
 * @LastEditTime: 2024-08-23 17:18:02
 * @FilePath: \src\api\youhu\V1\goods\goods.js
 */
import request from '@/utils/request'

// 获取产品
export function getGoods(data)
{
  return request({
    url: '/getGoods',
    method: 'post',
    data
  })
}
// 删除
export function deleteGoods(data)
{
  return request({
    url: '/deleteGoods',
    method: 'post',
    data
  })
}

// 批量删除
export function multipleDeleteGoods(data)
{
  return request({
    url: '/multipleDeleteGoods',
    method: 'post',
    data
  })
}
// 添加

export function addGoods(data)
{
  return request({
    url: '/addGoods',
    method: 'post',
    data
  })
}
// 修改
export function updateGoods(data)
{
  return request({
    url: '/updateGoods',
    method: 'post',
    data
  })
}
// 规格属性
export function updateGoodsProperty(data)
{
  return request({
    url: '/updateGoodsProperty',
    method: 'post',
    data
  })
}

